<?php
$options = array(
                  ''	=> 'Select Month',
                  '01'	=> 'January',
                  '02'	=> 'Febuary',
                  '03'	=> 'March',
				  '04'	=> 'April',
				  '05'	=> 'May',
				  '06'	=> 'June',
				  '07'	=> 'July',
				  '08'	=> 'August',
				  '09'	=> 'September',
				  '10'	=> 'October',
				  '11'	=> 'November',
				  '12'	=> 'December',
                );
?>

<p class="lead-title">Birthday Calendar</p>

<?=$system_message;?>

<div class="section-container auto" data-section>
  <section>
    <p class="title" data-section-title><a href="#panel1">Calendar Mode</a></p>
    <div class="content" data-section-content>
		<?=$calendar;?>
		<div class="right">
			<a href="<?php echo site_url('excel_gen/print_birthday/'.$month.'/'.$year); ?>" target="_blank" class="button">Print Birthday</a>
		</div>
		<div class="clearfix"></div>
    </div>
  </section>
  <section>
    <p class="title" data-section-title><a href="#panel2">Search Mode</a></p>
    <div class="content" data-section-content>
      
	  <!--<label>Enter Students name to search.</label>
      <input type="text" name="students_name" class="birthday-ajax-search" id="birthday-ajax-search" placeholder="Type In Student's Name or ID" url="<?=site_url('output/birthday_search/'.$auth);?>">
	  <div id="birthday-ajax-search-items"></div>-->
	  
	  <form method="post" action="<?php echo site_url('registrar/searchmonth'); ?>">
        <div>Month</div>
        <div><?php echo form_dropdown('monthly', $options); ?></div>
		<div><input type="submit" name="btnSubmit" value="Search" class="btn" /></div>
	  </form>
	  
	  </div>
	  
    </div>
  </section>
</div>
<script src="<?=script_url('custom/search');?>"></script>
